Just like we did for the parent class in commit
b57832716a, we should
disconnect any notification signals when the notification is reset
to null to avoid warnings later.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/942
});
}
- _onDestroy() {
- super._onDestroy();
- this.notification.disconnect(this._activatedId);
+ _disconnectNotificationSignals() {
+ super._disconnectNotificationSignals();
+
+ if (this._activatedId)
+ this.notification.disconnect(this._activatedId);
+ this._activatedId = 0;
}
_onUpdated(n, clear) {